package org.xt.entity;

import java.util.List;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Many;
import org.nutz.dao.entity.annotation.Table;

/**
 * 大储位信息
 * @author XiangTao
 *
 */
@Table("tb_data_da_chuwei")
public class DataDaChuwei extends IdBaseTable{
	@Column
	private int gangjiaId; //所属钢架
	@Column
	private String name;
	@Column
	private int sort;
	@Column
	private String beizhu;
	
	@Many(field="dachuweiId")
	private List<DataXiaoChuwei> xiaochuwei; //里面的小储位
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getSort() {
		return sort;
	}
	public void setSort(int sort) {
		this.sort = sort;
	}
	public String getBeizhu() {
		return beizhu;
	}
	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}
	
	public int getGangjiaId() {
		return gangjiaId;
	}
	public void setGangjiaId(int gangjiaId) {
		this.gangjiaId = gangjiaId;
	}
	public List<DataXiaoChuwei> getXiaochuwei() {
		return xiaochuwei;
	}
	public void setXiaochuwei(List<DataXiaoChuwei> xiaochuwei) {
		this.xiaochuwei = xiaochuwei;
	}
	@Override
	public String toString() {
		return "DataDaChuwei [gangjiaId=" + gangjiaId + ", name=" + name + ", sort=" + sort + ", beizhu=" + beizhu
				+ ", xiaochuwei=" + xiaochuwei + "]"+ super.toString();
	}
	
	
}
